﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HR_TVCATNChange.aspx.cs" Inherits="ArtLand.OA.Project.HR.HR_TVCATNChange" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../css/Mastr.css" rel="stylesheet" />
    <link href="../css/main.css" rel="stylesheet" />
    <script src="../js/jquery-1.4.1.min.js"></script>
    <link rel="stylesheet" href="../jqueryui/css/ui-lightness/jquery-ui-1.9.2.custom.min.css" />
    <style>
        .ui-autocomplete-loading
        {
            background: white url('../images/ui-anim_basic_16x16.gif') right center no-repeat;
        }

        .mytoolbar td
        {
            vertical-align: top;
        }

        .mytoolbar .x-form-field-wrap
        {
            /* Only fileupload in toolbar */
            height: 23px;
        }

        .mytoolbar .x-form-field
        {
            /* fix for IE */
            float: left;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager runat="server" ID="page1" AutoSizePanelID="pan1" />
        <ext:Panel runat="server" ID="pan1" ShowHeader="false" Layout="Fit" ShowBorder="false">
            <Toolbars>
                <ext:Toolbar>
                    <Items>
                        <ext:Button runat="server" ID="btnSave" Text="保存" Icon="Accept" OnClick="btnSave_Click"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:SimpleForm ShowBorder="false" ShowHeader="false" AutoScroll="true">
                    <Items>
                        <ext:ContentPanel  runat="server" ID="Con2" ShowBorder="false" ShowHeader="false">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list_tdcss">
                                <tbody>
                                    <tr>
                                        <td>
                                            <div class="title-bg" style="border-top-width: 0px;">
                                                <span class="title-font main-btn1">年假信息</span>
                                            </div>
                                            <div>
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list_tdcss main-ttable">
                                                    <tbody>
                                                        <tr>
                                                            <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;<span style="color:red;font-weight:bold;">*</span>员工编号:
                                                            </td>
                                                            <td class="listline" style="padding-left: 5px;">
                                                                <ext:TextBox runat="server" ID="txt_EMPLID" Width="100px"></ext:TextBox>
                                                            </td>
                                                            <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;年份:
                                                            </td>
                                                            <td class="listline" style="padding-left: 5px;">
                                                                <ext:DropDownList runat="server" ID="Drp_VTYEAR" Width="100px"></ext:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td align="left" class="org f2 listline" width="115px" style="height: 32px;">&nbsp;&nbsp;<span style="color:red;font-weight:bold;">*</span>开始日期:
                                                            </td>
                                                            <td class="listline" width="170px" style="padding-left: 5px;">
                                                                <ext:DatePicker runat="server" ID="txt_VAYEAR" Width="130px"></ext:DatePicker>
                                                            </td>
                                                            <td align="left" class="org f2 listline" width="115px">&nbsp;&nbsp;<span style="color:red;font-weight:bold;">*</span>结束日期:
                                                            </td>
                                                            <td class="listline" width="170px" style="padding-left: 5px;">
                                                                <ext:DatePicker runat="server" ID="txt_TOYEAR" Width="130px"></ext:DatePicker>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td align="left" class="org f2 listline" width="115px" style="height: 32px;">&nbsp;&nbsp;<span style="color:red;font-weight:bold;">*</span>年假总天数:
                                                            </td>
                                                            <td class="listline" style="padding-left: 5px;" colspan="3">
                                                                <ext:NumberBox runat="server" ID="txt_TOLQTY" OnTextChanged="txt_TOLQTY_TextChanged" AutoPostBack="true"></ext:NumberBox>
                                                            </td>                                                            
                                                        </tr>
                                                        <tr>
                                                            <td align="left" class="org f2 listline" width="115px" style="height: 32px;">&nbsp;&nbsp;已休年假:
                                                            </td>
                                                            <td class="listline" style="padding-left: 5px;" style="height: 32px;">
                                                                <ext:NumberBox runat="server" ID="txt_COMQTY"></ext:NumberBox>
                                                            </td>
                                                            <td align="left" class="org f2 listline" width="115px" style="height: 32px;">&nbsp;&nbsp;剩余年假:
                                                            </td>
                                                            <td class="listline" style="padding-left: 5px;">
                                                                <ext:NumberBox runat="server" ID="txt_LEFQTY"></ext:NumberBox>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </ext:ContentPanel>
                    </Items>
                </ext:SimpleForm>
            </Items>
        </ext:Panel>
        <ext:HiddenField runat="server" ID="hf"></ext:HiddenField>
    </form>
    <script src="../jqueryui/js/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="../jqueryui/js/jquery-ui-1.9.2.custom.min.js" type="text/javascript"></script>
    <script type="text/javascript">

        function onReady() {
            var EMPLID = '<%=txt_EMPLID.ClientID %>';
            autoComp(EMPLID);
        }

    </script>
    <script src="../js/WebCommon.js"></script>
</body>
</html>

